package del3;

public class MultiplicationCell extends Cell{

    private double value;

    public MultiplicationCell(Cell value1, Cell value2) {
    	this.value = value1.getNumberValue() * value2.getNumberValue(); 
    }
    
	@Override
    public double getNumberValue(){
    	return value;
    }

    public String toString() {
        return "" + value;
    }
}
